package com.javaclimb.music.service;

import com.javaclimb.music.po.Singer;

import java.util.List;

public interface SingerService {
    /**
     *  获得所有歌手信息
     * @return
     */
    public List<Singer> getSingerList();

    /**
     * 添加歌手
     * @param singer
     * @return
     */
    public boolean CreateSinger(Singer singer);

    public boolean DeleteSingerById(int id);

    public boolean UpdateSinger(Singer singer);

    public List<Singer> LikeSingerByName(String name);

    public boolean DeletesSinger(int[] id);

    public int getSingerNum();

}
